<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/ATCurFuncs.h 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">ATCurFuncs.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p><a href="../../d7/d32/_a_t_cur_funcs_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a5f529843000d424d8baabe527cfc63bd"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a5f529843000d424d8baabe527cfc63bd">atCurrTrans_begin</a> ()</td></tr>
<tr class="memdesc:a5f529843000d424d8baabe527cfc63bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建新的当前变换栈入口。该接口调用后的栈顶变换域调用前的栈顶变换相同。  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a5f529843000d424d8baabe527cfc63bd">更多...</a><br /></td></tr>
<tr class="separator:a5f529843000d424d8baabe527cfc63bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05">atCurrTrans_end</a> ()</td></tr>
<tr class="memdesc:ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">从当前变换栈移除栈顶变换  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05">更多...</a><br /></td></tr>
<tr class="separator:ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03180d434d82f7dbc2adc56a666d4919"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a03180d434d82f7dbc2adc56a666d4919">atCurrTrans_identity</a> ()</td></tr>
<tr class="memdesc:a03180d434d82f7dbc2adc56a666d4919"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用单位变换矩阵代替当前变换矩阵  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a03180d434d82f7dbc2adc56a666d4919">更多...</a><br /></td></tr>
<tr class="separator:a03180d434d82f7dbc2adc56a666d4919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f3f5848cbc323fcac8a629d58f5c89b"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a0f3f5848cbc323fcac8a629d58f5c89b">atCurrTrans_invScaleDoubleArray</a> (double *out, const double *in, int numValues)</td></tr>
<tr class="memdesc:a0f3f5848cbc323fcac8a629d58f5c89b"><td class="mdescLeft">&#160;</td><td class="mdescRight">缩放输入的值使之从当前坐标系统转换为设计文件坐标  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a0f3f5848cbc323fcac8a629d58f5c89b">更多...</a><br /></td></tr>
<tr class="separator:a0f3f5848cbc323fcac8a629d58f5c89b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cacb1e69bb010ad6aa73b1b84770225"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a7cacb1e69bb010ad6aa73b1b84770225">atCurrTrans_invtransPointArray</a> (ATEC_NAMESPACE_NAME::XPoint3d *out, const ATEC_NAMESPACE_NAME::XPoint3d *in, int numPoints)</td></tr>
<tr class="memdesc:a7cacb1e69bb010ad6aa73b1b84770225"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点集从设计文件坐标转为当前坐标系统  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a7cacb1e69bb010ad6aa73b1b84770225">更多...</a><br /></td></tr>
<tr class="separator:a7cacb1e69bb010ad6aa73b1b84770225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34567a4d7b7392656f491b0a7d975b1a"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a34567a4d7b7392656f491b0a7d975b1a">atCurrTrans_masterUnitsIdentity</a> (int translateToGlobalOrigin)</td></tr>
<tr class="memdesc:a34567a4d7b7392656f491b0a7d975b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">与brCurrTrans_identity相同，除了其将变换中的缩放置为单位主单位对应的UOR。该接口调用后，所有的坐标都是主单位。  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a34567a4d7b7392656f491b0a7d975b1a">更多...</a><br /></td></tr>
<tr class="separator:a34567a4d7b7392656f491b0a7d975b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e981c0fdfa6a9030c7b6c404723d6b"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d32/_a_t_cur_funcs_8h.html#a54e981c0fdfa6a9030c7b6c404723d6b">atCurrTrans_transformPointArray</a> (ATEC_NAMESPACE_NAME::XPoint3d *out, const ATEC_NAMESPACE_NAME::XPoint3d *in, int numPoints)</td></tr>
<tr class="memdesc:a54e981c0fdfa6a9030c7b6c404723d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">将给定的点集从当前坐标系统变换到设计文件坐标  <a href="../../d7/d32/_a_t_cur_funcs_8h.html#a54e981c0fdfa6a9030c7b6c404723d6b">更多...</a><br /></td></tr>
<tr class="separator:a54e981c0fdfa6a9030c7b6c404723d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">函数说明</h2>
<a id="a5f529843000d424d8baabe527cfc63bd" name="a5f529843000d424d8baabe527cfc63bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f529843000d424d8baabe527cfc63bd">&#9670;&nbsp;</a></span>atCurrTrans_begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atCurrTrans_begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>创建新的当前变换栈入口。该接口调用后的栈顶变换域调用前的栈顶变换相同。 </p>
<dl class="section note"><dt>注解</dt><dd>可嵌套调用brCurrTrans_begin至任意深度，但是应该调用对应次数的brCurrTrans_end或brCurrTrans_clear </dd>
<dd>
至少需要在调用其他brCurrTrans_**接口前调用一次brCurrTrans_begin接口</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05" name="ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5b3f08fa4eadc6ba4bc7cd8cbfc7b05">&#9670;&nbsp;</a></span>atCurrTrans_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atCurrTrans_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从当前变换栈移除栈顶变换 </p>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="a03180d434d82f7dbc2adc56a666d4919" name="a03180d434d82f7dbc2adc56a666d4919"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03180d434d82f7dbc2adc56a666d4919">&#9670;&nbsp;</a></span>atCurrTrans_identity()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atCurrTrans_identity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用单位变换矩阵代替当前变换矩阵 </p>
<dl class="section note"><dt>注解</dt><dd>在第一次调用brCurrTrans_begin后无需调用该接口，因为默认的变换就是单位变换</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="a0f3f5848cbc323fcac8a629d58f5c89b" name="a0f3f5848cbc323fcac8a629d58f5c89b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f3f5848cbc323fcac8a629d58f5c89b">&#9670;&nbsp;</a></span>atCurrTrans_invScaleDoubleArray()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atCurrTrans_invScaleDoubleArray </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numValues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>缩放输入的值使之从当前坐标系统转换为设计文件坐标 </p>
<dl class="section note"><dt>注解</dt><dd>如果当前坐标系统变换包含不一致的缩放（xyz方向的缩放比例不同），该接口将会产生错误的结果</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>* out 缩放后的值 </td></tr>
    <tr><td class="paramname">const</td><td>double * in 输入值数组 </td></tr>
    <tr><td class="paramname">int</td><td>numValues 数组长度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="a7cacb1e69bb010ad6aa73b1b84770225" name="a7cacb1e69bb010ad6aa73b1b84770225"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cacb1e69bb010ad6aa73b1b84770225">&#9670;&nbsp;</a></span>atCurrTrans_invtransPointArray()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atCurrTrans_invtransPointArray </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::XPoint3d *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ATEC_NAMESPACE_NAME::XPoint3d *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numPoints</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点集从设计文件坐标转为当前坐标系统 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::XPoint3d</td><td>* out 变换后的点集 </td></tr>
    <tr><td class="paramname">const</td><td>ATEC_NAMESPACE_NAME::XPoint3d * in 输入的点集 </td></tr>
    <tr><td class="paramname">int</td><td>numPoints 点集中的点数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="a34567a4d7b7392656f491b0a7d975b1a" name="a34567a4d7b7392656f491b0a7d975b1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34567a4d7b7392656f491b0a7d975b1a">&#9670;&nbsp;</a></span>atCurrTrans_masterUnitsIdentity()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atCurrTrans_masterUnitsIdentity </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>translateToGlobalOrigin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与brCurrTrans_identity相同，除了其将变换中的缩放置为单位主单位对应的UOR。该接口调用后，所有的坐标都是主单位。 </p>
<dl class="section note"><dt>注解</dt><dd>如果translateToGlobalOrigin为true，那么当前变换将被平移，使得（0，0，0）点位于全局原点；否则，（0，0，0）点将位于设计平面中心</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>translateToGlobalOrigin 将（0，0，0）点设置为全局原点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
<a id="a54e981c0fdfa6a9030c7b6c404723d6b" name="a54e981c0fdfa6a9030c7b6c404723d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54e981c0fdfa6a9030c7b6c404723d6b">&#9670;&nbsp;</a></span>atCurrTrans_transformPointArray()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atCurrTrans_transformPointArray </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::XPoint3d *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ATEC_NAMESPACE_NAME::XPoint3d *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numPoints</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将给定的点集从当前坐标系统变换到设计文件坐标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::XPoint3d</td><td>* out 变换后的点集 </td></tr>
    <tr><td class="paramname">const</td><td>ATEC_NAMESPACE_NAME::XPoint3d * in 输入的点集 </td></tr>
    <tr><td class="paramname">int</td><td>numPoints 点集中的点数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/20 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
